<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<!-- <div id="box"></div> -->
		<input type="text" name="user" value="" />
		<input type="text" name="pass"/>
		<script src="js/jquery-3.4.1.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				$.get("shuju.json",function(data){
					// $("#box").html(JSON.stringify(data));js对象转换为字符串
					$("[name = user]").val(data.user);
					$("[name = pass]").val(data.pass);
				});
			});
		</script>
	</body>
</html>
